home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
newsess.z
/
newsess
Wrap
Text File
|
1998-10-20
|
4KB
|
133 lines
nnnneeeewwwwsssseeeessssssss((((1111)))) nnnneeeewwwwsssseeeessssssss((((1111))))
NNNNAAAAMMMMEEEE
newsess - start a new array session
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
_nnnn_eeee_wwww_ssss_eeee_ssss_ssss [_----_llll] [_----_gggg] [_----_hhhh _A_S_H] [_----_pppp _p_r_o_j_e_c_t] [[_----_ssss] _s_h_e_l_l-_a_r_g_s]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _n_e_w_s_e_s_s command starts a new array session. The user remains logged
in and the current directory is unchanged. If the change is successful,
the user will be given a new shell. The original shell, and any
processes it may have had running, will remain alive and associated with
the original array session. Thus, exiting the new shell will return the
user to the original shell and original array session.
By default, the new array session will be a global array session (see
_a_r_r_a_y__s_e_s_s_i_o_n_s(5) for more information on this subject). Some systems
are capable of generating their own global array session handles
internally, while others must request a global handle from an array
services daemon. If the _----_llll option is specified, the system will _n_o_t try
to contact an array services daemon; this will result in a purely local
array session handle on systems that do not internally generate global
handles. On the other hand, the _----_gggg option will _f_o_r_c_e the system to
obtain a global array session handle from an array services daemon, even
if the system could have generated a global handle internally. In this
case, _n_e_w_s_e_s_s will fail if an array services daemon is not available.
The _----_gggg and _----_llll options are mutually exclusive.
The _----_pppp option can be used to set the new array session's project to
_p_r_o_j_e_c_t. By default, the new array session will belong to the same
project as the current array session. If the user is not the superuser,
then the user must be authorized for _p_r_o_j_e_c_t in the ////eeeettttcccc////pppprrrroooojjjjeeeecccctttt file.
The superuser may force a specific array session handle to be used by
specifying the _----_hhhh _A_S_H option. An error will occur if _A_S_H is already in
use by another array session. The _----_gggg and _----_hhhh options are mutually
exclusive.
The first unrecognized command line argument, and all remaining arguments
that follow it, will be passed to the new shell as arguments. The
_n_e_w_s_e_s_s option _----_ssss can be used to force the rest of the command line to be
treated as shell arguments. This is useful if it is necessary to pass an
option to the shell that also happens to be a valid _n_e_w_s_e_s_s option. When
using shells like _s_h(1), an argument of the form _----_cccc _s_t_r_i_n_g executes
_s_t_r_i_n_g via the shell and an _a_r_g_u_m_e_n_t of _----_rrrr will give the user a
restricted shell.
NNNNOOOOTTTTEEEESSSS
The array services daemon (_a_r_r_a_y_d(1M)) must be running on the local
machine in order to start a new global array session. It is not required
for a new local array session.
PPPPaaaaggggeeee 1111
nnnneeeewwwwsssseeeessssssss((((1111)))) nnnneeeewwwwsssseeeessssssss((((1111))))
SSSSEEEEEEEE AAAALLLLSSSSOOOO
newproj(1), newarraysess(2), array_services(5), array_sessions(5).
PPPPaaaaggggeeee 2222